package CH3.Demo2;

import CH3.Demo.PackageDemo;

/**
 * @author: LiuBoTao
 * @date: 2022/9/20
 * @ApiNote
 */
public class PackageDemoSon extends CH3.Demo.PackageDemo {

    public static void main(String[] args) {


        //CH3.Demo.PackageDemo.pintFault(2);
        //System.out.println("CH3.Demo.PackageDemo.aFault="+CH3.Demo.PackageDemo.aFault);

        CH3.Demo.PackageDemo.pintProtected(3);
        System.out.println("CH3.Demo.PackageDemo.aFault="+CH3.Demo.PackageDemo.aProtected);

        //CH3.Demo.PackageDemo.pintPrivate(4);
        //System.out.println("CH3.Demo.PackageDemo.aFault="+CH3.Demo.PackageDemo.aPrivate);

        PackageDemo.pintPublic(2);
        System.out.println("CH3.Demo.PackageDemo.aPublic="+ PackageDemo.aPublic);
        System.out.println("CH3.Demo.PackageDemo.bPublic="+ PackageDemo.bPublic);
    }
}
